<%@page import="tx.bjdacp.model.*" %>
<%@ page contentType="application/msexcel;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"%>

<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<%
   response.setHeader("Content-disposition","attachment; filename=data.xls");
%>



	<table width="100%"  border="1" cellspacing="0">
			  <tr>

				<th >企业名称</th>
				<th sortColumn="supervise_date" ><%=SuperviseInfo.ALIAS_SUPERVISE_DATE%></th>
				<th sortColumn="supervise_type" ><%=SuperviseInfo.ALIAS_SUPERVISE_TYPE%></th>
				<th sortColumn="supervise_result" ><%=SuperviseInfo.ALIAS_SUPERVISE_RESULT%></th>
				<th sortColumn="dight_info" ><%=SuperviseInfo.ALIAS_DIGHT_INFO%></th>
				<th sortColumn="attachment_file_name" ><%=SuperviseInfo.ALIAS_ATTACHMENT_FILE_NAME%></th>
	<th sortColumn="unit_type" ><%=SuperviseInfo.ALIAS_UNIT_TYPE%></th>
				<th sortColumn="supervise_person" ><%=SuperviseInfo.ALIAS_SUPERVISE_PERSON%></th>
			  </tr>

		  <tbody>
		  	  <c:forEach items="${page.result}" var="item" varStatus="status">

			  <tr>

				<td><c:out value='${item.drugSellUnit.unitName}'/>&nbsp;</td>
				<td><c:out value='${item.superviseDateString}'/>&nbsp;</td>
				<td><c:out value='${item.superviseType}'/>&nbsp;</td>
				<td><c:out value='${item.superviseResult}'/>&nbsp;</td>
				<td><c:out value='${item.dightInfo}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentFileName}'/>&nbsp;</td>
				<td><c:out value='${item.unitType}'/>&nbsp;</td>
				<td><c:out value='${item.supervisePerson}'/>&nbsp;</td>

			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>
